<%@page contentType="text/html; charset=utf-8"%>
<%@ include file="/include/head.jsp"%>
<div class="pageHeader">
	<form rel="pagerForm" onsubmit="return navTabSearch(this);" action="sys/role/rolePager.do?funId=${funId}" method="post">
		<div class="searchBar">
			<table class="searchContent">
				<tr>
					<td>
	
						角色名称:<input type="text" name="map.roleName_L" value="${pager.scMap.roleName_L}">
						功能权限:<input type="text" name="map.title_L" value="${pager.scMap.title_L}">
						备注:<input type="text" name="map.description_L" value="${pager.scMap.description_L}">
	
	       			</td>
				</tr>
			</table>
			<div class="subBar">
				<ul>
					<li><div class="buttonActive"><div class="buttonContent"><button type="submit">查询</button></div></div></li>
				</ul>
			</div>
		</div>
	</form>
</div>

<div class="panelBar">
	<ul class="toolBar">
		<li><a class="add" target="navTab"  href="sys/role/toEditRole/-99999999.do?funId=${funId}" title="添加角色"><span>添加角色</span></a></li>
	</ul>
</div>

<div layoutH="116" id="w_list_print">
	<table class="table" width="98%" targetType="navTab" asc="asc" desc="desc">
		<thead>
			<tr>
				<th width="30">No.</th>

				<th width="150">角色名称</th>
				<th width="600">功能权限</th>
				<th>备注</th>

			    <th width="40">操作</th>
			</tr>
		</thead>
		<tbody>
			<c:forEach items="${pager.resultList}" var="item" varStatus="varStatus">
				<tr target="sid_" rel="${item.id}">
					<td align="right">${varStatus.count}</td>

					<td>${item.roleName}</td>
					<td><a title="${item.titles}">${item.titles}</a></td>
					<!-- <td>${item.enable}</td> -->
					<td>${item.description}</td>

					<td>
						<!-- 
					    <a title="删除" target="ajaxTodo" href="sys/role/delete/${item.id}.do?funId=${funId}" class="btnDel">删除</a>-->
						<a title="编辑"  target="navTab"  href="sys/role/toEditRole/${item.id}.do?funId=${funId}" class="btnEdit" title="${item.roleName}&nbsp;角色编辑">编辑</a><!-- 
						<a target="navTab"  href="sys/role/toAssign/${item.id}.do?funId=${funId}" class="btnAttach" rel="roleAssignEditor" title="${item.roleName}&nbsp;角色权限分配">${item.roleName}&nbsp;角色权限分配</a> -->
					</td>
				</tr>
			</c:forEach>
		</tbody>
	</table>
</div>
<jsp:include page="../include/pagerDiv.jsp" flush="true" />
